#ifndef _WATER_ENEMY_PHYSICS_H_
#define _WATER_ENEMY_PHYSICS_H_

#include "GunPhysics.h"

class WaterEnemyPhysics: public GunPhysics {
protected:
	/* Fire with target direction */
	virtual void _updateBulletContainer() {
		if (_armyData->bulletContainer->checkCanFire()) {
			if (_armyData->bulletContainer->fire(_armyData->getRect()->X, _armyData->getRect()->Y, 0, _armyData->targetRect)) {
				_armyData->sprites->currentSprite->Next();
			}
		}
		_armyData->bulletContainer->update(0);
	}
public:
	WaterEnemyPhysics(ArmyData* data) : GunPhysics(data) {
		data->getRect()->Height -= 20;
	}

};

#endif